package com.mrxy.mouse.mapper;

import com.mrxy.mouse.domain.MyUser;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface UserMapper
{
    MyUser loadUserByUsername(@Param("username") String username);

    void registerUser(@Param("username") String username,
                         @Param("password") String password,
                         @Param("enabled") boolean enabled,
                         @Param("locked") boolean locked);
}
